package com.jmb.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 
 * @TableName t_interface_suite_case_ref
 */
@TableName(value ="t_interface_suite_case_ref")
@Data
public class InterfaceSuiteCaseRef extends BaseEntity {

    /**
     * 接口用例编号
     */
    @Schema(description = "接口用例编号")
    @TableField(value = "case_id")
    @NotNull(message = "用例编号不能为空")
    private Integer caseId;

    /**
     * 测试套件编号
     */
    @Schema(description = "测试套件编号")
    @NotNull(message = "套件编号不能为空")
    @TableField(value = "suite_id")
    private Integer suiteId;

    /**
     * 用例状态0启用 1禁用
     */
    @Schema(description = "用例状态0启用 1禁用")
    @NotNull(message = "用例状态不能为空")
    @TableField(value = "case_status")
    private Integer caseStatus;

    /**
     * 排序
     */
    @Schema(description = "排序")
    @TableField(value = "order")
    private Integer order;
}